//
//  LZEnum.h
//  laziz_Consumer
//
//  Created by xbnzd on 16/11/10.
//  Copyright © 2016年 XBN. All rights reserved.
//

#ifndef LZEnum_h
#define LZEnum_h

//标记键盘语言状态
typedef NS_ENUM(NSInteger, KeyBoardLanguage){
    kLanguage_AR = 0,
    kLanguage_EN = 1,
    kLanguage_CH = 2,
    kLanguage_NONE = 3
    
} ;

//标记基本的请求状态
typedef NS_ENUM(NSInteger, ResponseCode) {
    kCodeSuccesss = 2000000,                // 请求成功
    kCodeAuthorExpired = 500014,           // 用户未登录或者登陆过期
    kCodeAuthorForbidden = 500031,         // 该用户已被停用，请联系管理员
    kCodeFiled    = 1111111                 // 后台异常
};


//标记 优惠券,拼团详情中 按钮展示,UI布局
typedef NS_ENUM(NSInteger, CouponState){
    kCoupon_notUsed = 11,  //未使用
    kCoupon_used = 12,     //已经使用
    kCoupon_expired = 13,   //过期
    kCoupon_default = 10       //无操作
};


typedef NS_ENUM(NSInteger, WebStateCode) {
    kWebState_service = 1, //服务协议
    kWebState_aboutUs = 2//关于我们
};

//首页协议回调刷新类型
typedef NS_ENUM(NSInteger ,VideoCellRefreshType) {
    VideoCellRefreshType_Zan,       // 点赞刷新类型
    VideoCellRefreshType_Collect,   // 收藏刷新类型
    VideoCellRefreshType_Coupon, //抢券减一类型
    VideoCellRefreshType_Review,   // 收藏刷新类型
    VideoCellRefreshType_Remove,    // 移除操作，用于待评价列表
    VideoCellRefreshType_Share,      //视频分享类型
    VideoCellRefreshType_AllCount    //刷新点赞,收藏,分享,评论数量
};

//0点赞 1收藏  2信息  3分享   4更多  5抢券详情   6拼团详情  7右上角评论 8右上角收藏 9餐厅详情
typedef NS_ENUM(NSInteger, VideoCellDelegateClickEventCode) {
    kVideoCellDelegate_zanEvent = 0,
    kVideoCellDelegate_collectEvent = 1,
    kVideoCellDelegate_commentEvent = 2,
    kVideoCellDelegate_shareEvent = 3,
    kVideoCellDelegate_goDetailEvent = 4,
    kVideoCellDelegate_goCouponEvent = 5,
    kVideoCellDelegate_goGroupEvent = 6,
    kVideoCellDelegate_topRightCornerCommentEvent = 7,
    kVideoCellDelegate_topRightCornerCollectEvent = 8,
    kVideoCellDelegate_restaurantDetailEvent = 9
};


#pragma mark - 消息类型
typedef NS_ENUM(NSInteger,MsgCenterType) {
    kMsgCenterType_sys = 1, //系统消息
    kMsgCenterType_customerVideoComment = 2,//视频评论回复
    kMsgCenterType_checkouRemind = 3,//结账评论
    kMsgCenterType_customerResComment = 4, //餐厅评论回复
    kMsgCenterType_couponExpired = 5,//优惠券即将过期
    kMsgCenterType_groupExpired = 6, //团购即将过期
    kMsgCenterType_groupSuccess = 7, //团购已经成团
    kMsgCenterType_resAuthRegected = 9, //商户认证失败
    kMsgCenterType_resAuthSuccess = 8, //商户认证通过
    kMsgCenterType_photosDelete = 10, //商户照片违规被删除
    kMsgCenterType_finicalRecode = 11,  //平台给商家结账通知
    kMsgCenterType_videoComment = 12, //视频评论
    kMSgCenterType_resComment = 13 //餐厅评论
    
};

#endif /* LZEnum_h */
